﻿<%@ Page Language="C#" MasterPageFile="~/admin/admin.Master" AutoEventWireup="true" CodeBehind="appointment.aspx.cs" Inherits="CRM.admin.appointment" Title="Untitled Page" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <asp:GridView ID="GridView1" runat="server" Width="743px" 
    AutoGenerateColumns="False" BackColor="White" BorderColor="#336666" 
    BorderStyle="Double" BorderWidth="3px" CellPadding="4" GridLines="Horizontal" onrowcommand="GridView1_RowCommand" 
        >
        <RowStyle BackColor="White" ForeColor="#333333" />
        <Columns>
           
            <asp:BoundField HeaderText="cmpy parson name" DataField="COMPANY_PERSON_NAME" />
            <asp:BoundField HeaderText="cmpy add" DataField="COMPANY_ADDRESS"/>
            <asp:BoundField HeaderText="phone no" DataField="PHONE_NO" />
            <asp:BoundField HeaderText="reason"  DataField="REASON"/>
            <asp:BoundField HeaderText="Date" DataField="DATE" />
            <asp:TemplateField>
                <ItemTemplate>
                    <asp:Button ID="DTNDELETE" runat="server" Text="DELETE" 
                     CommandName="delete" CommandArgument= '<%# Eval("ID") %>' />
                     
                </ItemTemplate>
            </asp:TemplateField>
        </Columns>
        <FooterStyle BackColor="White" ForeColor="#333333" />
        <PagerStyle BackColor="#336666" ForeColor="White" HorizontalAlign="Center" />
        <SelectedRowStyle BackColor="#339966" Font-Bold="True" ForeColor="White" />
        <HeaderStyle BackColor="#336666" Font-Bold="True" ForeColor="White" />
    </asp:GridView>
</asp:Content>
